import { Cover, CreateDate, Desc, Digdit, Entity, PrimaryUuid, Title, UpdateDate } from "@sker/core";

@Entity({
    name: 'agent_level'
})
export class AgentLevel {
    @PrimaryUuid()
    id: string;

    @Title({ comment: '代理等级' })
    title: string;

    @Cover({ comment: '代理图标' })
    icon: string;

    @Desc({ comment: '等级简介' })
    desc: string;

    @Digdit({comment: '等级'})
    level: number;

    @UpdateDate()
    update_date: Date;

    @CreateDate()
    create_date: Date;
}